<?php
/**
 * Created by PhpStorm.
 * User: llk
 * Date: 2016/10/25
 * Time: 20:46
 */
namespace app\models;

use Yii;
use yii\base\Model;

class EntryForm extends Model
{

    public $name;
    public $email;

    public function rules()
    {
        return [
            [['name', 'email'], 'required'],
            ['email', 'email']
        ];

    }


}